document.write('
'); document.write(''); document.write('
'); document.write('
'); document.write(''); document.write('×'); document.write(''); document.write(''); document.write('
'); document.write('
'); document.write(''); document.write(''); document.write(''); function $id(id){ return typeof(id)=="string"?document.getElementById(id):id; } function openFloat() { $id("food_float").style.display = "block"; $id("open_floating").style.display = "none"; } function closeFloat() { $id("food_float").style.display = "none"; $id("open_floating").style.display = "block"; } // 控制浮层根据浏览器大小的位置变化 var clientWidth = parseInt($getWindowWidth(),10); var oriCssName = $id("food_float").className; if(clientWidth < 1200) { $id("food_float").className = "floating_small_case"; } var st = setInterval(function() { var width = $getWindowWidth(); if(parseInt(width, 10) < 1220) { $id("food_float").className = "floating_small_case"; } else { $id("food_float").className = oriCssName; } },100); function $getWindowHeight(){ var bodyCath=document.body; return (document.compatMode=='BackCompat'?bodyCath:document.documentElement).clientHeight; } function $getWindowWidth(){ var bodyCath=document.body; return (document.compatMode=='BackCompat'?bodyCath:document.documentElement).clientWidth; } //document.write(''); //document.write('
'); document.write('
'); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); function openFloat_left() { $id("food_float_left").style.display = "block"; $id("open_floating_left").style.display = "none"; } function closeFloat_left() { $id("food_float_left").style.display = "none"; $id("open_floating_left").style.display = "block"; }